feat(settings): allow resizing the columns of the accounts list#62066
Draft
Fantu wants to merge 1 commit into
Draft
feat(settings): allow resizing the columns of the accounts list#62066Fantu wants to merge 1 commit into
Fantu wants to merge 1 commit into
Conversation
The accounts list columns have a fixed width: long values (display names, emails, LDAP account names, translated quota strings, storage paths) are ellipsised with no way to see or copy them from the list. This is a usability regression from the Nextcloud 28 table rework (nextcloud#39050): until then the columns were fluid and grew with the available space. Add a resize handle to each column header: drag to resize, arrow keys as keyboard alternative, double click to reset. Widths are clamped to sane bounds, applied through per-column CSS variables on the list container so header, rows and footer stay aligned, and persisted in localStorage. Closes nextcloud#43777 Assisted-by: ClaudeCode:claude-fable-5 Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The accounts list columns have a fixed width since the Nextcloud 28 table rework (#39050): before that the columns were fluid and grew with the available space, since then long values (display names, emails, LDAP account names, translated quota strings, storage paths) are always ellipsised, with no way to see or copy them from the list. As an admin of an LDAP-backed server this bites me regularly: the internal account names are UUIDs and I cannot see or copy them (see also #54072).
This PR adds a resize handle to each column header:
role="separator"with anaria-label)Screenshots
How to test
Notes for reviewers (draft)
/compile) once the approach is settled./settings/users/preferences/*, ConfigLexicon), or is localStorage fine here given that pixel widths are display dependent (a width that fits an external monitor may not fit a laptop)?aria-valuenowon the separator)?TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)